package com.qiancheng;

public class ErrorConfig {


    //成功
    public static final int SUCCESS = 200;
    public static final String SUCCESS_STR = "success";

    //未知错误
    public static final int UNKNOWN_ERROR = 500;

//    用户名错误相关
    public static final int USERNAME_NOT_EMPTY_CODE = 201;
    public static final String USERNAME_NOT_EMPTY_MSG = "用户名不能为空";

    //密码错误相关
    public static final int PASSWORD_NOT_EMPTY_CODE = 202;
    public static final String PASSWORD_NOT_EMPTY_MSG = "密码不能为空";

    //昵称错误相关
    public static final int NICKNAME_NOT_EMPTY_CODE = 203;
    public static final String NICKNAME_NOT_EMPTY_MSG = "昵称不能为空";

    //注册相关
    public static final int REGISTER_ERROR_CODE = 204;
    public static final String REGISTER_ERROR_STR = "注册失败";

}
